<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2024/10/13
  Time: 18:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="use.Message" %>
<%
    Message message = (Message) session.getAttribute("details");
    String title = message.getTitle();
    String content = message.getContent();
%>
<html>
<head>
    <title>Edit Message</title>
</head>
<body>
<form action="editServlet" method="post">
    标题：<input type="text" value="<%= title %>" name="title"><br>
    内容：<br>
    <textarea name="content"><%= content %></textarea><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
